package com.woniuxy.credit_loans.mapper;

import com.woniuxy.credit_loans.entity.Emp;
import com.woniuxy.credit_loans.staff_dong.dto.EmpDto;
import com.woniuxy.credit_loans.staff_dong.vo.EmpVo;

import java.util.List;

/**
* @author donghang
* @description 针对表【emp(emp)】的数据库操作Mapper
* @createDate 2022-12-08 15:18:52
* @Entity com.woniuxy.credit_loans.entity.Emp
*/
public interface EmpMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

    Emp login(EmpDto empDto);

    List<Emp> selAll();

    Emp selByAcc(String empAcc);

    List<Emp> selAllProductLeaders();

    List<EmpVo> selectByLike(EmpDto empDto);


}
